API Documentation
FileLogger.h
1 // FileLogger.h
3 //
5 
6 namespace nkLog
7 {
11  class DLL_LOG_EXPORT FileLogger final : public Logger
12  {
13  public :
14 
18  FileLogger (const StringView& filePath) ;
23 
24  // Getters
29 
30  // Setters
36  void setOutputFilePath (const StringView& path) ;
37 
38  // Actions
42  virtual void log (const StringView& message, const StringView& className) override ;
43  } ;
44 }
nkLog::FileLogger::setOutputFilePath
void setOutputFilePath(const StringView &path)
nkLog::StringView
Allows to exchange strings with external code.
Definition: StringView.h:18
nkLog::FileLogger::~FileLogger
~FileLogger()
nkLog::FileLogger::getOutputFilePath
StringView getOutputFilePath() const
nkLog::FileLogger::log
virtual void log(const StringView &message, const StringView &className) override
nkLog
Encompasses all API of component NilkinsLog.
Definition: StringView.h:7
nkLog::FileLogger
Default implementation of a logger outputing the logged information to a file.
Definition: FileLogger.h:12
nkLog::Logger
An interface to make all logging capabilities central.
Definition: Logger.h:15
nkLog::FileLogger::FileLogger
FileLogger(const StringView &filePath)